package org.dromara.finance.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.finance.domain.SaleInvoiceList;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 销售发票子表视图对象 sale_invoice_list
 *
 * @author xxy
 * @date 2025-08-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SaleInvoiceList.class)
public class SaleInvoiceListVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 销售发票主表ID
     */
    @ExcelProperty(value = "销售发票主表ID")
    private Long saleInvoiceId;

    /**
     * 发票入账日期
     */
    @ExcelProperty(value = "发票入账日期")
    private Date recordDate;

    /**
     * 销售发票号
     */
    @ExcelProperty(value = "销售发票号")
    private String saleInvoiceNum;

    /**
     * 相关凭证号
     */
    @ExcelProperty(value = "相关凭证号")
    private String voucherNum;

    /**
     * 原币价税合计
     */
    @ExcelProperty(value = "原币价税合计")
    private BigDecimal originalTotalAmount;

    /**
     * 原币无税金额
     */
    @ExcelProperty(value = "原币无税金额")
    private BigDecimal originalAmount;

    /**
     * 原币税额
     */
    @ExcelProperty(value = "原币税额")
    private BigDecimal originalTaxedAmount;

    /**
     * 币种
     */
    @ExcelProperty(value = "币种")
    private Long currency;

    /**
     * 汇率
     */
    @ExcelProperty(value = "汇率")
    private BigDecimal exchangeRate;

    /**
     * 本币价税合计
     */
    @ExcelProperty(value = "本币价税合计")
    private BigDecimal localTotalAmount;

    /**
     * 本币无税金额
     */
    @ExcelProperty(value = "本币无税金额")
    private BigDecimal localAmount;

    /**
     * 本币税额
     */
    @ExcelProperty(value = "本币税额")
    private BigDecimal localTaxedAmount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
